package com.mcxx.modules.miniSalvation.family.entity;

import com.mcxx.validate.group.Creation;
import com.mcxx.validate.group.Deletion;
import com.mcxx.validate.group.Update;
import com.yinhai.ta404.core.validate.annotation.V;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@ApiModel
@Data
public class FamilySpecialHistoryEntity implements Serializable {

    private static final long serialVersionUID = 1418498514236512558L;
    @V(value = {"notnull"},groups = {Update.class, Deletion.class})
    private String id;

    @ApiModelProperty(value = "家庭主体ID，从身份证查询时可获得，必填")
    @V(value = {"notnull"},groups = {Creation.class,Update.class})
    private String familyId;

    @ApiModelProperty(value = "申请业务表ID")
    private String orderId;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "身份证号")
    @V(value = {"notnull","idcard"}, groups = {Creation.class,Update.class})
    private String idcard;

    @ApiModelProperty(value = "手机")
    private String phone;

    @ApiModelProperty(value = "工作单位")
    private String workPlace;

    @ApiModelProperty(value = "职位")
    private String workDuty;

    @ApiModelProperty(value = "与户主关系")
    private String familyRelationship;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "扩展字段")
    private String nameStr;

    @ApiModelProperty(value = "成员Id")
    private String memberId;

    private String relationStr;


}
